<%@page import="contract.ContractDAO"%>
<%@page import="contract.ContractDTO"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<%
	String ct_no = request.getParameter("ct_no");
	String md_pp = (String)request.getSession().getAttribute("mid");
	ContractDTO cont = new ContractDTO();
	ContractDAO dao = new ContractDAO();
	System.out.println(ct_no+"/"+md_pp);
	cont.setCt_no(ct_no);
	cont.setCt_ing("06");
	cont.setMd_pp(md_pp);
	dao.setCont(cont);
	boolean flag = dao.appUp();
	%>
</body>
</html>